import { ref } from 'vue'
import { defineStore } from 'pinia'
import { getvideos } from '@/api/video/video.js'
export const getVideoList = defineStore('video', () => {
    getvideos().then((res) => {
        if(!res.data.status) {
            videosList.value = res.data.message
        }  
    })
    const videosList = ref(null)
    return { videosList }
})
